package com.jy.entity;

public class Teacher {
    private int teacherId;
    private  String tname;
    private  String tpass;
    private  String tphone;
    private  String tjob;
    private  String thavatar;

    public String getThavatar() {
        return thavatar;
    }

    public void setThavatar(String thavatar) {
        this.thavatar = thavatar;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTpass() {
        return tpass;
    }

    public void setTpass(String tpass) {
        this.tpass = tpass;
    }

    public String getTphone() {
        return tphone;
    }

    public void setTphone(String tphone) {
        this.tphone = tphone;
    }

    public String getTjob() {
        return tjob;
    }

    public void setTjob(String tjob) {
        this.tjob = tjob;
    }

    @Override
    public String toString() {
        return "\nTeacher{" +
                "teacherId=" + teacherId +
                ", tname='" + tname + '\'' +
                ", tpass='" + tpass + '\'' +
                ", tphone='" + tphone + '\'' +
                ", tjob='" + tjob + '\'' +
                ", thavatar='" + thavatar + '\'' +
                '}';
    }
}
